package com.siashan.unipay4j.wx.complaint;

import com.siashan.unipay4j.core.IBaseEnum;

/**
 * 投诉单处理进展状态
 *
 * @author siashan
 * @version V2.0.1
 * @date 2024/1/9
 **/
public enum ComplaintHandleStateEnum implements IBaseEnum<String> {
    /**
     * 待商户处理
     */
    WAIT_MERCHANT_RESPONSE("WAIT_MERCHANT_RESPONSE", "待商户处理"),
    /**
     * 商户已反馈
     */
    MERCHANT_RESPONSED("MERCHANT_RESPONSED", "商户已反馈"),
    /**
     * 用户已确认
     */
    USER_CONFIRMED("USER_CONFIRMED", "用户已确认"),
    /**
     * 投诉超时关闭
     */
    TIME_OUT_CLOSED("TIME_OUT_CLOSED", "投诉超时关闭"),
    /**
     * 商户全额退款
     */
    MERCHANT_FULL_REFUNDED("MERCHANT_FULL_REFUNDED", "商户全额退款"),
    /**
     * 用户已撤诉
     */
    PAYER_CANCELED("PAYER_CANCELED", "用户已撤诉"),
    /**
     * 状态未知
     */
    UNSPECIFIC("UNSPECIFIC", "状态未知"),
    ;


    private String value;
    private String desp;

    ComplaintHandleStateEnum(String value, String desp) {
        this.value = value;
        this.desp = desp;
    }


    public void setValue(String value) {
        this.value = value;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    /**
     * 获取枚举value值
     *
     * @return T
     */
    @Override
    public String getValue() {
        return this.value;
    }

    /**
     * 获取枚举desp值
     *
     * @return desp值
     */
    @Override
    public String getDesp() {
        return this.desp;
    }
}
